{% extends "movies/default_template.html" %}

{% block title %}
	NMJ - All movies
{% endblock %}

{% block content %}

	Already checked directories : 
	<table>
	{% for dir in nmj_dirs %}
		<tr><td><a href="/settings/delete_directory/{{ forloop.counter0 }} ">Delete</a></td><td>{{dir.directory}}</td></tr>
	{% endfor %}
	</table>
	<br/>
	<form name="add_dir" action="/settings/add_directory" method="POST" >
		Add directory to check :
		<input type="text" name="directory" />
		<select name="type" />
			<option value="2">TV shows and movies mixed</option>
			<option value="0">TV shows only</option>
			<option value="1">Movies only</option>
		</select>
		<input type="submit"/>
	</form>
	

{% endblock %}